# token的加密
SECRET_KEY = 'sadsadsadagwq;g'

# MySQL数据库的配置信息
HOSTNAME = '127.0.0.1'
PORT = '3306'
USERNAME = 'root'
PASSWORD = '123456'
DATABASE = 'zhiliaooa'

# 配置数据库链接信息(固定写法)
DB_URI = 'mysql+pymysql://{}:{}@{}:{}/{}?charset=utf8mb4'.format(USERNAME, PASSWORD, HOSTNAME, PORT, DATABASE)
SQLALCHEMY_DATABASE_URI = DB_URI


# 网易邮箱授权码: CSJQBLBAWJHWQUHH
# 邮箱配置
MAIL_SERVER = 'smtp.163.com'
MAIL_USE_SSL = True
MAIL_PORT = 465
MAIL_USERNAME = 'zengming19931006@163.com'
# 开启SMTP服务时生成的授权码
MAIL_PASSWORD = 'CSJQBLBAWJHWQUHH'
# 要发给的邮箱
MAIL_DEFAULT_SENDER = 'zengming19931006@163.com'